<!-- header -->
<%
	String redirect = (String) request.getAttribute("redirected_from_home");
	if( redirect == null || !redirect.equalsIgnoreCase("true") ) {		
		response.sendRedirect("/writeonproject/home");
	}
	
	String title = "User Does Not Exist!";
	String uid = request.getParameter("userid");
	if( uid != null ) {
		title = "Profile: " + uid;
	}
	out.print("<input type=\"hidden\" id=\"uidfield\" value=\"" + uid + "\"></input>");
%>

<jsp:include page="header.jsp">
	<jsp:param name="title" value="<%= title %>"/>
</jsp:include>
<!-- / header -->
<script type="text/javascript" src="js/create.js"></script>
<script> window.onload=createUserInfoPage();</script>
<!-- content -->
	<div class="body7">
		<div class="main">
			<section id="content">
				<div class="wrapper">
					<article>
						<div class="pad1" id="userinfo">
						
						</div>
					</article>
				</div>
			</section>
		</div>
	</div>
	<!-- / content -->

<!-- footer -->
<jsp:include page="footer.jsp"/>
<!-- / footer -->
